package com.groupbuying.sysconfig.dto;

import java.io.Serializable;
import java.util.Date;


/**
 * 运营规则配置表
 * 
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-22 00:05:40
 * @des
 */
public class SysconfigOpexRuleDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 运营规则ID
	 */
	private String ruleId;

	/**
	 * 运营规则创建时间
	 */
	private Date gmtCreate;

	/**
	 * 运营规则更新时间
	 */
	private Date gmtModified;

	/**
	 * 线上非积分消费返积分率
	 */
	private String backCurrencyRatio;

	/**
	 * 积分消费打折率
	 */
	private String currencyPayDiscount;

	/**
	 * 运营规则描述
	 */
	private String ruleDes;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String delFlag;

	/**
	 * 线上支付平台抽成比例
	 */
	private String onlineExtracting;

	/**
	 * 积分支付平台抽成比例
	 */
	private String currencyExtracting;

	/**
	 * 平台给商户结算比例
	 */
	private String storeSettlement;

	/**
	 * 设置：运营规则ID
	 */
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}
	/**
	 * 获取：运营规则ID
	 */
	public String getRuleId() {
		return ruleId;
	}
	/**
	 * 设置：运营规则创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：运营规则创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：运营规则更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：运营规则更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}
	/**
	 * 设置：线上非积分消费返积分率
	 */
	public void setBackCurrencyRatio(String backCurrencyRatio) {
		this.backCurrencyRatio = backCurrencyRatio;
	}
	/**
	 * 获取：线上非积分消费返积分率
	 */
	public String getBackCurrencyRatio() {
		return backCurrencyRatio + "%";
	}
	/**
	 * 设置：积分消费打折率
	 */
	public void setCurrencyPayDiscount(String currencyPayDiscount) {
		this.currencyPayDiscount = currencyPayDiscount;
	}
	/**
	 * 获取：积分消费打折率
	 */
	public String getCurrencyPayDiscount() {
		return currencyPayDiscount + "%";
	}
	/**
	 * 设置：运营规则描述
	 */
	public void setRuleDes(String ruleDes) {
		this.ruleDes = ruleDes;
	}
	/**
	 * 获取：运营规则描述
	 */
	public String getRuleDes() {
		return ruleDes;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getDelFlag() {
		return delFlag;
	}
	/**
	 * 设置：线上支付平台抽成比例
	 */
	public void setOnlineExtracting(String onlineExtracting) {
		this.onlineExtracting = onlineExtracting;
	}
	/**
	 * 获取：线上支付平台抽成比例
	 */
	public String getOnlineExtracting() {
		return onlineExtracting + "%";
	}

	/**
	 * 设置：积分支付平台抽成比例
	 */
	public void setCurrencyExtracting(String currencyExtracting) {
		this.currencyExtracting = currencyExtracting;
	}
	/**
	 * 获取：积分支付平台抽成比例
	 */
	public String getCurrencyExtracting() {
		return currencyExtracting + "%";
	}
	/**
	 * 设置：平台给商户结算比例
	 */
	public void setStoreSettlement(String storeSettlement) {
		this.storeSettlement = storeSettlement;
	}
	/**
	 * 获取：平台给商户结算比例
	 */
	public String getStoreSettlement() {
		return storeSettlement + "%";
	}

    @Override
    public String toString() {
        return "SysconfigOpexRuleDO{" +
									                    "ruleId=" + ruleId +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                										",backCurrencyRatio=" + backCurrencyRatio +
					                										",currencyPayDiscount=" + currencyPayDiscount +
					                										",ruleDes=" + ruleDes +
					                										",delFlag=" + delFlag +
					                										",onlineExtracting=" + onlineExtracting +
					                										",currencyExtracting=" + currencyExtracting +
					                										",storeSettlement=" + storeSettlement +
					                				"}";
    }
}
